﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp18
{
    class staff
    {
        public int num { get; set; }
        public string name { get; set; }
        public char sex { get; set; }
        public string stu { get; set; }
        public string text { get; set; }

        public staff()
        {
            stu = "专科";
        }

        public staff(int num, string name, char sex, string stu, string text)
        {
            this.num = num;
            this.name = name;
            this.sex = sex;
            this.stu = stu;
            this.text = text;
        }
        public void hello() 
        {
            Console.WriteLine("学号{0}、姓名{1}、性别{2}、学历{3}、信息{4}",this.num,this.name,this.sex,this.stu,this.text);
        }
    }
}
